package co.china.lottery.account.service;

import java.math.BigDecimal;

import net.blogjava.frankiegao123.log.slf4j.Log;
import net.blogjava.frankiegao123.log.slf4j.LogFactory;

import java.math.BigDecimal;

import co.china.lottery.account.service.bean.AccountRequest;
import co.china.lottery.account.service.bean.AccountResponse;
import co.china.lottery.account.service.bean.AccountTransReq;
import co.china.lottery.account.service.bean.TransferResponse;

/**
 * @ClassName AccountService
 * @Description 资金账户业务
 * @author bati
 * @date 2014-9-16
 */
public interface AccountService {
	
	final static Log log = LogFactory.getLog(AccountService.class);
	
	/**
     * 新增资金账户金额
     */
    AccountResponse increment(AccountRequest accountRequest);

    /**
     * 减少资金账户金额
     */
    AccountResponse decrement(AccountRequest accountRequest);
    
    //查询余额
	double agentAccountQuery(String agentId);
	
	BigDecimal newAgentAccountQuery(String agentId);

	//资金账户互转
	TransferResponse transfer(AccountTransReq req);

	//奖金批次提交
	AccountResponse prizeBatchSubmit(AccountRequest req);
}